package com.atguigu.gulimall.product.vo;

import com.atguigu.gulimall.product.entity.SkuImagesEntity;
import com.atguigu.gulimall.product.entity.SkuInfoEntity;
import com.atguigu.gulimall.product.entity.SpuInfoDescEntity;
import lombok.Data;
import lombok.ToString;

import java.util.List;

@Data
public class SkuItemVo {
    private SkuInfoEntity info;    //sku基本信息
    private boolean hasStock = true;    //有库存
    private List<SkuImagesEntity> images;    //sku的图片信息
    private List<SkuItemSaleAttrVo> saleAttr;    //spu的销售属性组合
    private SpuInfoDescEntity desc;    //spu的介绍
    private List<SpuItemAttrGroupVo> groupAttrs;    //spu的规格参数信息
    private SeckillInfoVo seckillInfo;    //当前商品的秒杀信息
}
